<?php

require_once "lib/database/sql/MySQL.class.php";

require_once "application/logic/db/tables/Tables.class.php";

class ProjectSQL extends Tables {

	private	$tables_class				= null;

	private $mysql_connection_class			= null;


	function ProjectSQL( $project_class ) {

		$this->tables_class = new Tables( $project_class );


		$this->mysql_connection_class = new MySQL( $project_class->getProfile_class()->getSQLConfig() );

		if ( !$this->mysql_connection_class->connect() ) {
				die ("Serververbindung fehlgeschlagen!");
		}

		$project_class->test();

	}

	function getMySQLConnection_class() {
		return $this->mysql_connection_class;
	}

	//function sql_add_row_table

}




?>